import Vue from 'vue'
import Vuex from 'vuex'
import company from './modules/company'
import companyDetail from './modules/companyDetail'
import question from './modules/question'
import positionInfo from './modules/positionInfo'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userInfo: {}
  },
  mutations: {
    setUserInfo (state, value) {
      state.userInfo = value
    }
  },
  actions: {},
  modules: {
    company,
    companyDetail,
    question,
    positionInfo
  }
})
